package com.atguigu.gulimall.product.common.constant;

/**
 * <p>
 *  商品相关的枚举类
 * <p>
 *
 * @author lichen
 * @date 2020/11/10 11:57
 */
public enum ProductConstant {
    ATTR_TYPE_BASE(1,"基本属性"),
    ATTR_TYPE_SALE(0,"销售属性");

    private Integer code;
    private String msg;

    ProductConstant(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
